package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预制菜品类管理对象 premaid_food
 * 
 * @author liukangzu
 * @date 2025-04-17
 */
public class PremaidFood extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预制菜id */
    @Excel(name = "预制菜id")
    private Integer premaidFoodId;

    /** 预制菜名字 */
    @Excel(name = "预制菜名字")
    private String premaidFoodName;

    /** 预制菜保质期（天） */
    @Excel(name = "预制菜保质期", readConverterExp = "天=")
    private Integer premaidFoodTime;

    /** 预制菜状态（0下架，1下架） */
    @Excel(name = "预制菜状态", readConverterExp = "0=下架，1下架")
    private Integer premaidFoodState;

    /** 预制菜定价 */
    @Excel(name = "预制菜定价")
    private Double premaidFoodPrice;

    public void setPremaidFoodId(Integer premaidFoodId) 
    {
        this.premaidFoodId = premaidFoodId;
    }

    public Integer getPremaidFoodId() 
    {
        return premaidFoodId;
    }

    public void setPremaidFoodName(String premaidFoodName) 
    {
        this.premaidFoodName = premaidFoodName;
    }

    public String getPremaidFoodName() 
    {
        return premaidFoodName;
    }

    public void setPremaidFoodTime(Integer premaidFoodTime) 
    {
        this.premaidFoodTime = premaidFoodTime;
    }

    public Integer getPremaidFoodTime() 
    {
        return premaidFoodTime;
    }

    public void setPremaidFoodState(Integer premaidFoodState) 
    {
        this.premaidFoodState = premaidFoodState;
    }

    public Integer getPremaidFoodState() 
    {
        return premaidFoodState;
    }

    public void setPremaidFoodPrice(Double premaidFoodPrice) 
    {
        this.premaidFoodPrice = premaidFoodPrice;
    }

    public Double getPremaidFoodPrice() 
    {
        return premaidFoodPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("premaidFoodId", getPremaidFoodId())
            .append("premaidFoodName", getPremaidFoodName())
            .append("premaidFoodTime", getPremaidFoodTime())
            .append("premaidFoodState", getPremaidFoodState())
            .append("premaidFoodPrice", getPremaidFoodPrice())
            .toString();
    }
}
